package com.squid.cloud.common.exception;

import com.squid.cloud.common.enums.ErrorCodeEnum;

public class DistributedLockException extends SquidException{

	/**
	 * 
	 */
	private static final long serialVersionUID = 3310354849847498723L;

	public DistributedLockException() {
		super(ErrorCodeEnum.LOCKERROR);
	}
	
	public DistributedLockException(String msg) {
		super(ErrorCodeEnum.LOCKERROR.getCode(),msg);
	}
	
	public DistributedLockException(Exception exc) {
		super(ErrorCodeEnum.LOCKERROR.getCode(),exc.getMessage());
	}
	
}
